import Vue from 'vue'
import VueRouter from 'vue-router'
import Seller from '../views/Seller.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Seller',
    component: Seller
  },
  {
    path: '/trend',
    name: 'Trend',
    component: () => import(/* webpackChunkName: "about" */ '../views/Trend.vue')
  },
  {
    path: '/map',
    name: 'Map',
    component: () => import(/* webpackChunkName: "about" */ '../views/Map.vue')
  },
  {
    path: '/rank',
    name: 'Rank',
    component: () => import(/* webpackChunkName: "about" */ '../views/Rank.vue')
  },
  {
    path: '/hot',
    name: 'Hot',
    component: () => import(/* webpackChunkName: "about" */ '../views/Hot.vue')
  },
]

const router = new VueRouter({
  routes
})

export default router
